package com.k136.config.listener;

import org.springframework.context.event.ContextClosedEvent;
import org.springframework.context.event.EventListener;
import org.springframework.stereotype.Component;

/**
 * TODO 类
 *
 * @author LiuTai
 * @version 1.00
 * @Date 2024/9/3
 */
@Component
public class UserListener {
    @EventListener
    public void hanlderUserListener(ContextClosedEvent closedEvent){
        System.out.println("事件处理~~~~~~~~~~~~~~~~~~~");
    }
}
